package org.e_gold.util;

import java.io.File;
import java.io.PrintWriter;

public class FileUtil {

	public static void writeFile(String str, String fileName, String path) {

		try {
			File f = new File(path + File.separator + fileName);
			PrintWriter writer = new PrintWriter(f, "UTF-8");
			writer.print(str);
			writer.close();
		} catch (Exception e) {
			e.printStackTrace();
		}

	}
}
